package com.fowo.api.sys.ssf.def;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * 简单状态流程定义
 * @author yl_ls
 */
@Getter
@Setter
public class SimpleStatusFlowDef implements Serializable {
    private String objectName;
    private String statusField;

    private List<Item> items;

    @Getter
    @Setter
    @Accessors(chain = true)
    public static class Item implements Serializable {
        private String id;
        private String oldValue;
        private String newValue;
        private String title;
        private String description;
    }
}
